package com.zhiyizhen.handheld.component.workspace.api;

import com.zhiyizhen.handheld.component.workspace.bean.EmpInfo;
import com.zhiyizhen.handheld.component.workspace.bean.MySchedule;
import com.zhiyizhen.handheld.net.response.ResponseData;

import java.util.List;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Header;

public interface IWorkspaceService {

    /**
     * 查询员工个人信息
     */
    @GET("/web/clinic/emp/getEmpInfo")
    Observable<ResponseData<EmpInfo>> getEmpInfo(
            @Header("token") String token, @Header("clinicId") String clinicId);

    /**
     * 获取我的排班
     */
    @GET("/web/emp/schedule/getMySchedule")
    Observable<ResponseData<List<MySchedule>>> getMySchedule(
            @Header("token") String token, @Header("clinicId") String clinicId);

}
